package com.cloud.lan.entity.model.dataobject;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * Created by zhouquan on 2022/5/19.
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("lan_badge_user_record")
public class LanBadgeUserRecordDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * badgeId
     */
    private Long badgeId;

    /**
     * userId
     */
    private Long userId;

    /**
     * userPhone
     */
    @TableField(exist = false)
    private String userPhone;


    /**
     * 是否删除，0.否，1.是
     */
    @TableLogic
    private Integer isDeleted;

    private Date createTime;

    private Date updateTime;
}
